import React from 'react';
import { useDevice } from '../../hooks/useDevice'
import { DevicePathEnum } from '../../utils/device'
import { HHome, MHome} from '../../components'

const Home: React.FC = () => {
    const { path } = useDevice()
 
    return (
       <div>
        {   
            DevicePathEnum.pc === path ? (<HHome/>): (<MHome/>)
        }
       </div>
    )
}

export default Home